package com.atstudent.gmall.common.feign.product.fallback;

import com.atstudent.gmall.common.feign.product.BaseCategoryFeignClient;
import com.atstudent.gmall.common.result.Result;
import com.atstudent.gmall.product.vo.CategoryVo;
import lombok.extern.slf4j.Slf4j;

import java.util.List;

/**
 * @Author 薛有朋
 * @CreatDate 2024/11/30 17:59
 **/
@Slf4j
public class BaseCategoryFeignClientFallback implements BaseCategoryFeignClient {
    @Override
    public Result<List<CategoryVo>> findAllCategoryTree() {
        log.info("BaseCategoryFeignClientFallback。。。。。。findAllCategoryTree执行了");
        return Result.ok();
    }
}
